# @summary A short summary of the purpose of this class
#
# A description of what this class does
#
# @example
#   include emiconfig::wn9
class emiconfig::wn9 {
  $wn_pkgs=[
      "wn",
      "ca-policy-egi-core",
      "HEP_OSlibs",
      "libicu-devel",
      "htop",
  ]
  package{ $wn_pkgs:
    ensure     => "installed",
    require    => Yumrepo['site'],
  }
  file {"/scratch":
    ensure   => "directory",
    owner    => "root",
    group    => "root",
    mode     => '1777'
  }

 # for singularity 
  sysctl { "user.max_user_namespaces":
    ensure => present,
    value  => "10000",
    target => "/etc/sysctl.d/namespace.conf",   
  }
}
